<template>
    <div>
        <radio-field :config="config.data[0]" />
        <textarea-field v-if="config.data[0].value" :config="config.data[1]" />
    </div>
</template>

<script>
import RadioField from '../components/RadioField';
import TextareaField from '../components/TextareaField';
export default {
    props: ['config'],
    components: {
        'radio-field': RadioField,
        'textarea-field': TextareaField
    }
};
</script>

<style>

</style>
